using S.M.SmartMedical.Domain.Enums;
using System;

namespace S.M.SmartMedical.Domain.DTOs
{
    /// <summary>
    /// 轮播图数据传输对象
    /// </summary>
    public class CarouselDto
    {
        /// <summary>
        /// 轮播图ID
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        /// 标题
        /// </summary>
        public string Title { get; set; } = string.Empty;

        /// <summary>
        /// 图片URL
        /// </summary>
        public string ImageUrl { get; set; } = string.Empty;

        /// <summary>
        /// 链接URL
        /// </summary>
        public string? LinkUrl { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public CarouselStatus Status { get; set; }

        /// <summary>
        /// 状态名称
        /// </summary>
        public string StatusName { get; set; } = string.Empty;



        /// <summary>
        /// 排序号
        /// </summary>
        public int Sort { get; set; }

        /// <summary>
        /// 上传人
        /// </summary>
        public string Uploader { get; set; } = string.Empty;

        /// <summary>
        /// 上传时间
        /// </summary>
        public DateTime UploadTime { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }
    }
}